package com.igelato.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;


/**
 * @TableName: shop
 * @Description: 
 * @Author: wht
 * @Date: 2024-01-27
 */
@Data
    @Accessors(chain = true)
public class Shop implements Serializable{
                @TableId(value = "id", type = IdType.AUTO)
                private Integer id;
        private Integer city_id;
        private String shop_name;
        private String address;
        @ApiModelProperty("纬度")
        private Double latitude;
        @ApiModelProperty("经度")
        private Double longitude;
        @ApiModelProperty("联系电话（有可能不是店长的手机号）（如果值为空则使用店长的手机号）")
        private String mobile;
        @ApiModelProperty("店长id")
        private Integer owner_id;
        @ApiModelProperty("开店时间")
        private LocalDate open_date;
        @ApiModelProperty("所有类别和商品列表（json）")
        private String cate_list_json;
        @ApiModelProperty("早上开门时间")
        private LocalTime open_time;
        @ApiModelProperty("晚上关门时间")
        private LocalTime close_time;
        @ApiModelProperty("配送范围（公里）")
        private Double delivery_scope;
        private Integer sort;
        @ApiModelProperty("1：展示；-1：不展示；")
        private Byte status;
        @ApiModelProperty("0：正常；1：删除；")
        private Byte is_deleted;
        private LocalDateTime create_time;
        private LocalDateTime update_time;
@TableField(exist = false)
private static final long serialVersionUID=1L;

        }
